home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 49
/
Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso
/
Aminet
/
util
/
boot
/
WBSP_Prefs.lha
/
WBStartup+Prefs
/
Source
/
ChooseGroupWindow.c
< prev
next >
Wrap
C/C++ Source or Header
|
2002-03-06
|
612b
|
28 lines
#include <exec/types.h>
#include <libraries/mui.h>
#include <mui/nlist_mcc.h>
#include <proto/intuition.h>
#include "WBStartup+Prefs.h"
#include "WBStartupPlusPrefs_Cat.h"
void ChooseGroup(char *windowtitle);
ULONG __saveds __asm GLVDisplay(register __a1 struct GroupNode *node,register __a2 char **array)
{
*array=node->group_name;
return(0);
}
void ChooseGroup(char *windowtitle)
{
ULONG entries;
GetAttr(MUIA_NList_Entries,glsobj,&entries);
if (entries)
{
SetAttrs(winobj,MUIA_Window_Sleep,TRUE,TAG_DONE);
SetAttrs(gwinobj,MUIA_Window_Title,windowtitle,MUIA_Window_Open,TRUE,TAG_DONE);
}
}